package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教师管理对象 test_teacher
 * 
 * @author ruoyi
 * @date 2021-12-21
 */
public class TestTeacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 老师名字 */
    @Excel(name = "老师名字")
    private String teacherName;

    /** 出生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bornTime;

    /** 电话 */
    @Excel(name = "电话")
    private String tel;

    /** 头像 */
    @Excel(name = "头像")
    private String avater;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setBornTime(Date bornTime) 
    {
        this.bornTime = bornTime;
    }

    public Date getBornTime() 
    {
        return bornTime;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setAvater(String avater) 
    {
        this.avater = avater;
    }

    public String getAvater() 
    {
        return avater;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("teacherName", getTeacherName())
            .append("bornTime", getBornTime())
            .append("tel", getTel())
            .append("avater", getAvater())
            .toString();
    }
}
